package com.jwdf.uda.ui.activity;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import com.jwdf.uda.R;
import com.jwdf.uda.ui.fragment.base.BaseFragment;
import com.jwdf.uda.ui.fragment.garb.GarbFragment;

/**
 * Created by Administrator on 2016/9/27.
 */
public class GarbActivity extends AbsTitleBarActivity {

    public static void start(Context context) {
        context.startActivity(new Intent(context, GarbActivity.class));
    }

    @Override
    protected String getTopTitle() {
        return getString(R.string.me_guide);
    }

    @Override
    protected BaseFragment onCreateContentFragment() {
        return new GarbFragment();
    }

    @Override
    public void onHeadActionClick(View view) {
        GuideAddActivity.startActivity(this);
    }

    @Override
    protected void setupTitleView() {
        setOperateTitleIconAction(R.mipmap.ic_find_add);
    }
}
